import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import router from './router'
// 导入vuex配置  use使用
import store from './store'

// 全局配置pinia 
import { createPinia } from 'pinia'
// npm i pinia-plugin-persistedstate  pinia的持久化
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
let pinia = createPinia()
pinia.use(piniaPluginPersistedstate) //pinia 使用持久化插件
createApp(App).use(router).use(pinia).use(store).mount('#app')
